<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }
        .in{
            margin: 0 auto;
            width: 300px;
            text-align: center;
            color: yellowgreen;
        }
        img {
            border-radius: 50%;
        }
        ul {
            margin: 20px auto;
            width: 1000px;
        }

        li {
            list-style: none;
            width: 100px;
            height: 100px;
            perspective: 400px;
            margin: 0 30px;
            float: left;
            text-align: center;
            line-height: 100px;
        }

        .box {
            margin: 20px auto;
            position: relative;
            transform-style: preserve-3d;
            transition: all 3s;
            width: 100%;
            height: 100%;

        }

        .box1:hover {
            transform: rotateY(360deg);
        }

        .box2:hover {
            transform: rotateZ(360deg);
        }

        .box3:hover {
            transform: rotateX(-360deg);
        }

        .box4:hover {
            transform: rotate3d(1, 1, 0, -270deg);
        }

        .box5:hover {
            transform: rotate3d(0, 1, 1, 235deg);
        }

        .box6:hover {
            transform: rotate3d(1, 0, 1, -310deg);
        }

        .under,
        .bottom,
        .back,
        .forward,
        .right,
        .left {
            position: absolute;
            width: 100%;
            height: 100%;
            border: 1px solid #ccc;
        }

        .back {
            background-color: orange;
            transform: translateZ(-50px) rotateY(-180deg);
        }

        .forward {
            background-color: pink;
            transform: translateZ(50px);
        }

        .under {
            background-color: skyblue;
            transform: translateY(-50px) rotateX(90deg);
        }

        .bottom {
            background-color: yellowgreen;
            transform: translateY(50px) rotateX(-90deg);
        }

        .right {
            background-color: red;
            transform: translateX(-50px) rotateY(-90deg);
        }

        .left {
            background-color: yellow;
            transform: translateX(50px) rotateY(90deg);
        }
        
    </style>
</head>

<body>
    <div class="in">  
        <h2>工作细胞</h2>
        <img src="image/0.jpg" alt=""height="300" width="300">
    </div>
    <ul>  
        <li>
            <div class=" box box1">
                <div class="forward">血小板</div>
                <div class="under">白细胞</div>
                <div class="bottom">红细胞</div>
                <div class="back">T细胞</div>
                <div class="right">B细胞</div>
                <div class="left">淋巴细胞</div>
            </div>
        </li>
        <li>
            <div class=" box box2">
                <div class="forward">血小板</div>
                <div class="under">白细胞</div>
                <div class="bottom">红细胞</div>
                <div class="back">T细胞</div>
                <div class="right">B细胞</div>
                <div class="left">淋巴细胞</div>
            </div>
        </li>
        <li>
            <div class=" box box3">
                <div class="forward">血小板</div>
                <div class="under">白细胞</div>
                <div class="bottom">红细胞</div>
                <div class="back">T细胞</div>
                <div class="right">B细胞</div>
                <div class="left">淋巴细胞</div>
            </div>
        </li>
        <li>
            <div class=" box box4">
                <div class="forward">血小板</div>
                <div class="under">白细胞</div>
                <div class="bottom">红细胞</div>
                <div class="back">T细胞</div>
                <div class="right">B细胞</div>
                <div class="left">淋巴细胞</div>
            </div>
        </li>
        <li>
            <div class=" box box5">
                <div class="forward">血小板</div>
                <div class="under">白细胞</div>
                <div class="bottom">红细胞</div>
                <div class="back">T细胞</div>
                <div class="right">B细胞</div>
                <div class="left">淋巴细胞</div>
            </div>
        </li>
        <li>
            <div class=" box box6">
                <div class="forward">血小板</div>
                <div class="under">白细胞</div>
                <div class="bottom">红细胞</div>
                <div class="back">T细胞</div>
                <div class="right">B细胞</div>
                <div class="left">淋巴细胞</div>
            </div>
        </li>
    </ul>
</body>
</html>